home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri K-CD 2002 #1 / K-CD_2002-01.iso / Delphi / INSTALL / program files / Borland / Delphi6 / Doc / DelphiMM.int < prev    next >
Encoding:
Text File  |  2001-05-22  |  1.6 KB  |  42 lines

  1. { *********************************************************************** }
  2. {                                                                         }
  3. { Delphi Runtime Library                                                  }
  4. {                                                                         }
  5. { Copyright (c) 2000, 2001 Borland Software Corporation                   }
  6. {                                                                         }
  7. { *********************************************************************** }
  8.  
  9. library DelphiMM;
  10.  
  11. {$IMAGEBASE $41008000}
  12. {$R *.RES}
  13.  
  14. const
  15.   BorlandMM = 'borlndmm.dll';
  16.  
  17. function SysGetMem(Size: Integer): Pointer; external BorlandMM name '@Borlndmm@SysGetMem$qqri';
  18. function SysFreeMem(P: Pointer): Integer; external BorlandMM name '@Borlndmm@SysFreeMem$qqrpv';
  19. function SysReallocMem(P: Pointer; Size: Integer): Pointer; external BorlandMM name '@Borlndmm@SysReallocMem$qqrpvi';
  20. function GetHeapStatus: THeapStatus; external BorlandMM;
  21. function GetAllocMemCount: Integer; external BorlandMM;
  22. function GetAllocMemSize: Integer; external BorlandMM;
  23. procedure DumpBlocks; external BorlandMM;
  24. function GetMemory(Size: Integer): Pointer; cdecl; external BorlandMM;
  25. function FreeMemory(P: Pointer): Integer; cdecl; external BorlandMM;
  26. function ReallocMemory(P: Pointer; Size: Integer): Pointer; cdecl; external BorlandMM;
  27.  
  28. exports
  29.   SysGetMem,
  30.   SysFreeMem,
  31.   SysReallocMem,
  32.   GetMemory,
  33.   FreeMemory,
  34.   ReallocMemory,
  35.   DumpBlocks,
  36.   GetHeapStatus,
  37.   GetAllocMemCount,
  38.   GetAllocMemSize;
  39.  
  40. begin
  41. end.
  42.